home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM 1995 Fall / PD-ROM F95.toast / Programming / Programming Utilities / LogoMation 1.0.1 ƒ / Examples / B & W / multi pen.lib < prev    next >
MacBinary  |  1992-09-15  |  1.8 KB  |  [UVtx/UVtl]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: multi pen.lib

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Sibelius Music / Score (music/sibeliusMusicScore) ext Unsupported
1% dexvert IntelliFont Font (font/intelliFont) ext Unsupported
1% dexvert Amiga Hunk Library/Object (other/amigaLibrary) ext Unsupported
1% dexvert Amiga Shared Library (other/amigaSharedLibrary) ext Unsupported
1% dexvert Chess Assistant File (other/chessAssistant) ext Unsupported
1% dexvert COFF Library (other/coffLibrary) ext Unsupported
100% file MacBinary II, inited, Sun Sep 13 12:12:19 1992, modified Mon Sep 14 21:36:17 1992, creator 'UVtl', type 'UVtx', 1155 bytes "multi pen.lib" , at 0x503 286 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[UVtx]
macFileCreator[UVtl]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 6d 75 6c 74 69 20 | 70 65 6e 2e 6c 69 62 00 |..multi |pen.lib.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 55 56 74 78 55 56 74 | 6c 01 00 00 00 00 00 00 |.UVtxUVt|l.......|
|00000050| 00 00 00 00 00 04 83 00 | 00 01 1e a6 d9 18 e3 a6 |........|........|
|00000060| da ee 91 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c5 51 00 00 |........|.....Q..|
|00000080| 2f 2f 20 74 68 69 73 20 | 69 73 20 61 20 6c 69 62 |// this |is a lib|
|00000090| 72 61 72 79 20 66 69 6c | 65 20 66 6f 72 20 4d 75 |rary fil|e for Mu|
|000000a0| 6c 74 69 20 50 65 6e 0d | 2f 2f 2f 2f 2f 2f 2f 2f |lti Pen.|////////|
|000000b0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000000c0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 0d 2f 2f 20 4d 61 69 |////////|/.// Mai|
|000000d0| 6e 20 72 6f 75 74 69 6e | 65 73 3a 0d 2f 2f 20 20 |n routin|es:.// |
|000000e0| 20 20 48 65 61 64 65 72 | 28 73 74 72 29 20 2d 20 | Header|(str) - |
|000000f0| 77 72 69 74 65 20 61 20 | 6e 65 77 20 68 65 61 64 |write a |new head|
|00000100| 65 72 2e 20 20 59 6f 75 | 20 68 61 76 65 20 74 6f |er. You| have to|
|00000110| 20 63 61 6c 6c 20 69 6e | 69 74 48 65 61 64 65 72 | call in|itHeader|
|00000120| 28 29 0d 2f 2f 20 20 20 | 20 20 20 20 20 20 20 20 |().// | |
|00000130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 62 65 | | be|
|00000140| 66 6f 72 65 20 63 61 6c | 6c 69 6e 67 20 48 65 61 |fore cal|ling Hea|
|00000150| 64 65 72 2e 0d 0d 46 75 | 6e 63 74 69 6f 6e 20 69 |der...Fu|nction i|
|00000160| 6e 69 74 48 65 61 64 65 | 72 28 6f 6c 64 50 65 6e |nitHeade|r(oldPen|
|00000170| 29 0d 20 20 20 20 6f 6c | 64 50 65 6e 20 3d 20 70 |). ol|dPen = p|
|00000180| 65 6e 4e 61 6d 65 28 29 | 0d 20 20 20 20 50 65 6e |enName()|. Pen|
|00000190| 20 6e 61 6d 65 3d 22 68 | 65 61 64 65 72 50 65 6e | name="h|eaderPen|
|000001a0| 22 0d 20 20 20 20 50 65 | 6e 20 66 6f 6e 74 6e 61 |". Pe|n fontna|
|000001b0| 6d 65 3d 22 48 65 6c 76 | 65 74 69 63 61 22 2c 20 |me="Helv|etica", |
|000001c0| 66 6f 6e 74 73 69 7a 65 | 3d 32 30 2c 20 66 6f 6e |fontsize|=20, fon|
|000001d0| 74 73 74 79 6c 65 3d 22 | 42 6f 6c 64 22 0d 20 20 |tstyle="|Bold". |
|000001e0| 20 20 68 65 61 64 65 72 | 5f 6f 6c 64 5f 73 74 72 | header|_old_str|
|000001f0| 20 3d 20 22 22 0d 20 20 | 20 20 50 65 6e 20 6e 61 | = "". | Pen na|
|00000200| 6d 65 3d 6f 6c 64 50 65 | 6e 0d 0d 46 75 6e 63 74 |me=oldPe|n..Funct|
|00000210| 69 6f 6e 20 48 65 61 64 | 65 72 28 73 74 72 2c 20 |ion Head|er(str, |
|00000220| 6f 6c 64 50 65 6e 29 0d | 20 20 20 20 6f 6c 64 50 |oldPen).| oldP|
|00000230| 65 6e 20 3d 20 70 65 6e | 4e 61 6d 65 28 29 0d 20 |en = pen|Name(). |
|00000240| 20 20 20 50 65 6e 20 6e | 61 6d 65 3d 22 68 65 61 | Pen n|ame="hea|
|00000250| 64 65 72 50 65 6e 22 0d | 20 20 20 20 49 66 20 28 |derPen".| If (|
|00000260| 68 65 61 64 65 72 5f 6f | 6c 64 5f 73 74 72 20 ad |header_o|ld_str .|
|00000270| 20 22 22 29 0d 20 20 20 | 20 20 20 20 20 43 6f 6c | ""). | Col|
|00000280| 6f 72 20 36 35 35 33 35 | 2c 36 35 35 33 35 2c 36 |or 65535|,65535,6|
|00000290| 35 35 33 35 20 20 2f 2f | 20 77 68 69 74 65 0d 20 |5535 //| white. |
|000002a0| 20 20 20 20 20 20 20 48 | 65 61 64 65 72 42 47 28 | H|eaderBG(|
|000002b0| 68 65 61 64 65 72 5f 6f | 6c 64 5f 73 74 72 2c 20 |header_o|ld_str, |
|000002c0| 30 29 0d 20 20 20 20 43 | 6f 6c 6f 72 20 36 35 35 |0). C|olor 655|
|000002d0| 33 35 2c 36 35 35 33 35 | 2c 36 35 35 33 35 20 20 |35,65535|,65535 |
|000002e0| 20 20 20 2f 2f 20 77 68 | 69 74 65 0d 20 20 20 20 | // wh|ite. |
|000002f0| 48 65 61 64 65 72 42 47 | 28 73 74 72 2c 20 31 29 |HeaderBG|(str, 1)|
|00000300| 0d 20 20 20 20 68 65 61 | 64 65 72 5f 6f 6c 64 5f |. hea|der_old_|
|00000310| 73 74 72 20 3d 20 73 74 | 72 0d 20 20 20 20 50 65 |str = st|r. Pe|
|00000320| 6e 20 6e 61 6d 65 3d 6f | 6c 64 50 65 6e 0d 20 20 |n name=o|ldPen. |
|00000330| 20 20 0d 46 75 6e 63 74 | 69 6f 6e 20 48 65 61 64 | .Funct|ion Head|
|00000340| 65 72 42 47 28 73 74 72 | 2c 20 64 72 61 77 53 74 |erBG(str|, drawSt|
|00000350| 72 2c 20 77 69 64 74 68 | 2c 20 68 65 69 67 68 74 |r, width|, height|
|00000360| 29 0d 20 20 20 20 49 66 | 20 28 73 74 72 20 3d 20 |). If| (str = |
|00000370| 22 22 29 0d 20 20 20 20 | 20 20 20 20 52 65 74 75 |""). | Retu|
|00000380| 72 6e 0d 20 20 20 20 77 | 69 64 74 68 20 3d 20 73 |rn. w|idth = s|
|00000390| 57 69 64 74 68 28 73 74 | 72 29 0d 20 20 20 20 68 |Width(st|r). h|
|000003a0| 65 69 67 68 74 20 3d 20 | 73 41 73 63 65 6e 74 28 |eight = |sAscent(|
|000003b0| 29 20 2b 20 73 44 65 73 | 63 65 6e 74 28 29 0d 20 |) + sDes|cent(). |
|000003c0| 20 20 20 55 70 0d 20 20 | 20 20 47 6f 74 6f 20 2d | Up. | Goto -|
|000003d0| 77 69 64 74 68 2f 32 2d | 33 2c 20 68 65 69 67 68 |width/2-|3, heigh|
|000003e0| 74 28 29 2f 32 2d 33 30 | 2d 68 65 69 67 68 74 2d |t()/2-30|-height-|
|000003f0| 33 2c 20 30 0d 20 20 20 | 20 44 6f 77 6e 0d 20 20 |3, 0. | Down. |
|00000400| 20 20 46 69 6c 6c 20 31 | 0d 20 20 20 20 20 20 20 | Fill 1|. |
|00000410| 20 52 65 70 65 61 74 20 | 32 0d 20 20 20 20 20 20 | Repeat |2. |
|00000420| 20 20 20 20 20 20 46 6f | 72 77 61 72 64 20 77 69 | Fo|rward wi|
|00000430| 64 74 68 20 2b 20 36 0d | 20 20 20 20 20 20 20 20 |dth + 6.| |
|00000440| 20 20 20 20 4c 65 66 74 | 20 39 30 0d 20 20 20 20 | Left| 90. |
|00000450| 20 20 20 20 20 20 20 20 | 46 6f 72 77 61 72 64 20 | |Forward |
|00000460| 68 65 69 67 68 74 20 2b | 20 36 0d 20 20 20 20 20 |height +| 6. |
|00000470| 20 20 20 20 20 20 20 4c | 65 66 74 20 39 30 0d 20 | L|eft 90. |
|00000480| 20 20 20 49 66 20 64 72 | 61 77 53 74 72 0d 20 20 | If dr|awStr. |
|00000490| 20 20 20 20 20 20 55 70 | 0d 20 20 20 20 20 20 20 | Up|. |
|000004a0| 20 47 6f 74 6f 20 2d 77 | 69 64 74 68 2f 32 2c 20 | Goto -w|idth/2, |
|000004b0| 68 65 69 67 68 74 28 29 | 2f 32 2d 33 30 2d 68 65 |height()|/2-30-he|
|000004c0| 69 67 68 74 2c 20 30 0d | 20 20 20 20 20 20 20 20 |ight, 0.| |
|000004d0| 43 6f 6c 6f 72 20 36 35 | 35 33 35 2c 30 2c 30 0d |Color 65|535,0,0.|
|000004e0| 20 20 20 20 20 20 20 20 | 50 72 69 6e 74 20 73 74 | |Print st|
|000004f0| 72 0d 20 20 20 20 20 20 | 20 20 50 61 75 73 65 20 |r. | Pause |
|00000500| 31 2e 35 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |1.5.....|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000590| cc 00 d4 00 00 00 00 99 | 99 00 d5 00 00 00 00 66 |........|.......f|
|000005a0| 66 00 d6 00 00 00 00 33 | 33 00 d7 ee ee 00 00 00 |f......3|3.......|
|000005b0| 0d 6d 75 6c 74 69 20 70 | 65 6e 2e 6c 69 62 02 00 |.multi p|en.lib..|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 ac 28 52 c8 00 00 | 04 83 00 00 01 1e ee 00 |...(R...|........|
|00000600| 00 00 e2 00 00 dd dd 00 | 00 00 e3 00 00 bb bb 00 |........|........|
|00000610| 00 00 e4 00 00 aa aa 00 | 00 00 e5 00 00 88 88 00 |........|........|
|00000620| 00 00 e6 00 00 77 77 00 | 00 00 e7 00 00 55 55 00 |.....ww.|.....UU.|
|00000630| 00 00 e8 00 00 44 44 00 | 00 00 e9 00 00 22 22 00 |.....DD.|....."".|
|00000640| 00 00 ea 00 00 11 11 00 | 00 00 eb 00 00 00 00 ee |........|........|
|00000650| ee 00 ec 00 00 00 00 dd | dd 00 ed 00 00 00 00 bb |........|........|
|00000660| bb 00 ee 00 00 00 00 aa | aa 00 ef 00 00 00 00 88 |........|........|
|00000670| 88 00 f0 00 00 00 00 77 | 77 00 f1 00 00 00 00 55 |.......w|w......U|
|00000680| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+